package com.hkts.management.unattended.somain.entity;

import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yck
 * @since 2021-09-16
 */
public class HktsSoSomain extends Model<HktsSoSomain> {

private static final long serialVersionUID=1L;

                            private String id;
    /**
     * 订单编码
     */
        private String dSOCode;
    /**
     * 单据日期
     */
        private LocalDateTime dCode;
    /**
     * 销售类型编码
     */
        private String cSTCode;
    /**
     * 销售部门（编码）
     */
        private String cDepCode;
    /**
     * 业务员（编码）
     */
        private String cPersonCode;
    /**
     * 客户编码
     */
        private String cCusCode;
    /**
     * 客户名称
     */
        private String cCusName;
    /**
     * 物料编码
     */
        private String cInvCode;
    /**
     * 主计量单位编码
     */
        private String cUnitLd;
    /**
     * 数量
     */
        private BigDecimal iQuantity;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public String getdSOCode(){
            return dSOCode;
            }

        public void setdSOCode(String dSOCode) {
            this.dSOCode = dSOCode;
            }

    public LocalDateTime getdCode(){
            return dCode;
            }

        public void setdCode(LocalDateTime dCode) {
            this.dCode = dCode;
            }

    public String getcSTCode(){
            return cSTCode;
            }

        public void setcSTCode(String cSTCode) {
            this.cSTCode = cSTCode;
            }

    public String getcDepCode(){
            return cDepCode;
            }

        public void setcDepCode(String cDepCode) {
            this.cDepCode = cDepCode;
            }

    public String getcPersonCode(){
            return cPersonCode;
            }

        public void setcPersonCode(String cPersonCode) {
            this.cPersonCode = cPersonCode;
            }

    public String getcCusCode(){
            return cCusCode;
            }

        public void setcCusCode(String cCusCode) {
            this.cCusCode = cCusCode;
            }

    public String getcCusName(){
            return cCusName;
            }

        public void setcCusName(String cCusName) {
            this.cCusName = cCusName;
            }

    public String getcInvCode(){
            return cInvCode;
            }

        public void setcInvCode(String cInvCode) {
            this.cInvCode = cInvCode;
            }

    public String getcUnitLd(){
            return cUnitLd;
            }

        public void setcUnitLd(String cUnitLd) {
            this.cUnitLd = cUnitLd;
            }

    public BigDecimal getiQuantity(){
            return iQuantity;
            }

        public void setiQuantity(BigDecimal iQuantity) {
            this.iQuantity = iQuantity;
            }

    public static final String ID ="id";

    public static final String D_S_O_CODE ="d_s_o_code";

    public static final String D_CODE ="d_code";

    public static final String C_S_T_CODE ="c_s_t_code";

    public static final String C_DEP_CODE ="c_dep_code";

    public static final String C_PERSON_CODE ="c_person_code";

    public static final String C_CUS_CODE ="c_cus_code";

    public static final String C_CUS_NAME ="c_cus_name";

    public static final String C_INV_CODE ="c_inv_code";

    public static final String C_UNIT_LD ="c_unit_ld";

    public static final String I_QUANTITY ="i_quantity";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HktsSoSomain{" +
                ", id=" + id +
                ", dSOCode=" + dSOCode +
                ", dCode=" + dCode +
                ", cSTCode=" + cSTCode +
                ", cDepCode=" + cDepCode +
                ", cPersonCode=" + cPersonCode +
                ", cCusCode=" + cCusCode +
                ", cCusName=" + cCusName +
                ", cInvCode=" + cInvCode +
                ", cUnitLd=" + cUnitLd +
                ", iQuantity=" + iQuantity +
        "}";
        }
        }
